home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / os2 / pvm34b3.zip / pvm34b3 / pvm3 / src / amem.s next >
Text File  |  1997-07-22  |  1KB  |  49 lines

  1. ; $Id: amem.s,v 1.1 1996/09/23 23:43:10 pvmsrc Exp $
  2. ; $CHeader: amem.s 1.3 1995/08/30 08:47:06 $
  3. ; Copyright 1992 Convex Computer Corp.
  4. ;    int __ldcws  (void *addr)
  5. ;    int __read32 (void *addr)
  6. ;    int __synch  ()
  7. ;
  8. ;    Note: addr must be on a 16 byte boundary.
  9.  
  10.         .space  $TEXT$,sort=8
  11.         .subspa $CODE$,quad=0,align=8,access=44,code_only,sort=24
  12.         .export __ldcws32,entry,priv_lev=3,argw0=gr,rtnval=gr
  13. __ldcws32
  14.         .proc
  15.         .callinfo caller,frame=0
  16.         .entry
  17.     sync
  18.     ldcws    0(0,%arg0),%ret0
  19.     nop
  20.     bv    %r0(%rp)
  21.     .exit
  22.     nop
  23.         .procend
  24.  
  25.         .space  $TEXT$
  26.         .subspa $CODE$
  27.         .export __read32,entry,priv_lev=3,argw0=gr,rtnval=gr
  28. __read32
  29.         .proc
  30.         .callinfo caller,frame=0
  31.         .entry
  32.     bv    %r0(%rp)
  33.     .exit
  34.     ldws    0(0,%arg0),%ret0
  35.         .procend
  36.  
  37.         .space  $TEXT$
  38.         .subspa $CODE$
  39.         .export __synch,entry,priv_lev=3,argw0=gr,rtnval=gr
  40. __synch
  41.         .proc
  42.         .callinfo caller,frame=0
  43.         .entry
  44.         bv      %r0(%rp)
  45.         .exit
  46.         sync
  47.         .procend
  48.         .end
  49.